home *** CD-ROM | disk | FTP | other *** search
-
-
- #
- # You should have previously set LIB and INCLUDE environment variables
- # referencing your C compiler and OS/2 Toolkit subdirectories.
- # Consult your compiler documentation and OS/2 Toolkit documentation
- # for instructions on defining these variables.
- #
- # If you did not specify that the default libraries as OS/2 when you
- # installed the compiler, you will need to change llibce to llibcep.
- #
- # You must modify your LIB and INCLUDE environment variables to reference
- # the directory containing the OS/2 CPI-C library files.
- #
- # For Networking Services/2:
- # SET LIB=C:\CMLIB\APPN\LIB;%LIB%
- # SET INCLUDE=C:\CMLIB\APPN\INCLUDE;%INCLUDE%
- #
- # For Extended Services/2:
- # SET LIB=C:\CMLIB\LIB;%LIB%
- # SET INCLUDE=C:\CMLIB\INCLUDE;%INCLUDE%
- #
- # Compiler Switches:
- # -c = Compile only, no link
- # -AL = Using the Large memory model.
- # -Gs = Remove stack probes - Use only on fully debugged program.
- # -Ox = Maximum optimization
- # -Zl = Suppress default library selection.
- # -Zp = Pack structure members - OS/2 API calls expect packed structures.
- # -Ze = Enable special keywords.
- # -W4 = Maximum warning level
-
-
- C_OPTIONS = -c -AL -Gs -Ox -W4 -Zelp -DOS2 -DGET_OS2_SENSE_DATA
-
- LIBLIST = doscalls xcpic llibce acs /NOD
- MAP = nul
- LINK_OPTIONS = /EXEPACK /ST:8000 /PMTYPE:vio
-
-
- aping: aping.exe apingd.exe
-
- aping.EXE: aping.os2 aping.OBJ cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj
- LINK $* cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj $(LINK_OPTIONS), $*, $(MAP), $(LIBLIST) , ;
-
- aping.OBJ: aping.os2 aping.C cpicerr.h cpicinit.h cpicport.h getopt.h
- CL $(C_OPTIONS) $*.C
-
- apingd.EXE: aping.os2 apingd.OBJ cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj
- LINK $* cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj $(LINK_OPTIONS), $*, $(MAP), $(LIBLIST), ;
-
- apingd.OBJ: aping.os2 apingd.C cpicerr.h cpicinit.h cpicport.h getopt.h
- CL $(C_OPTIONS) $*.C
-
- cpicerr.OBJ: aping.os2 cpicerr.C cpicerr.h
- CL $(C_OPTIONS) $*.C
-
- cpicinit.OBJ: aping.os2 cpicinit.C cpicinit.h
- CL $(C_OPTIONS) $*.C
-
- cpicport.OBJ: aping.os2 cpicport.C cpicport.h
- CL $(C_OPTIONS) $*.C
-
- getopt.OBJ: aping.os2 getopt.C getopt.h
- CL $(C_OPTIONS) $*.C
-
-
-